package com.itkjb.leisurely.center.sys.service;

import com.itkjb.leisurely.center.sys.model.SysUserModel;
import com.itkjb.leisurely.core.base.IBaseService;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * <p>
 * 系统用户 服务类
 * </p>
 *
 * @author itkjb.com
 * @since 2020-07-22
 */
public interface ISysUserService extends IBaseService<SysUserModel> , UserDetailsService {
    /**
     * 登陆成功，更新最后一次登陆信息
     * @param user
     * @return
     */
    int updateLastLoginInfo(SysUserModel user);
}
